package UserUnit;

import java.util.*;

public class ImpProfiles implements Profiles {

    List<Object> profiles = null;
    UserProfile profile;

    public void setProfile(UserProfile profile) {
        this.profile = profile;
        profiles.add(profile);
    }

    public UserProfile getProfile(int pos) {
        return (UserProfile) profiles.get(pos);
    }

    public List getContacts() {
        return profiles;
    }
}
